/* 通用样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


ul {
	list-style: none;
}

/* 全局变量和公共样式 */
.w {
	width: var(--w);
	margin: 0 auto;
}

.tongan {
	min-width: var(--w);
}

:root {
	--w: 1230px;
	--h: 600px;
	--primary-color: #666;
	--secondary-color: #80c2cc;
	--accent-color: #ff6700;
	--light-gray: #f5f5f5;
	--medium-gray: #e0e0e0;
	--dark-gray: #333;
	--font-family: 'Open Sans', sans-serif;
}

html {
	scroll-behavior: smooth;
	font-family: var(--font-family);
}

/* 头部样式 */
.top-bar {
	height: 40px;
	background: linear-gradient(to bottom, var(--primary-color), #555);
	display: flex;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.top-nav-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

/* 导航条左边 */
.top-nav-left {
	height: 100%;
	margin: 0 20px;
	display: flex;
	align-items: center;
}

.top-nav-left>ul {
	display: flex;
	height: 100%;
}

.top-nav-left>ul>li {
	margin-right: 20px;
}

.top-nav-left a {
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 14px;
	transition: color 0.3s ease;
	font-weight: 600;
}

.top-nav-left a:hover {
	color: var(--accent-color);
}

/* 导航条右边 */
.top-nav-right {
	height: 100%;
	margin: 0 20px;
	display: flex;
	align-items: center;
}

.top-nav-right>ul {
	display: flex;
	align-items: center;
	height: 100%;
}

.top-nav-right>ul>li {
	position: relative;
	margin-left: 20px;
}

.top-nav-right a {
	text-decoration: none;
	color: var(--secondary-color);
	font-size: 14px;
	transition: color 0.3s ease;
	font-weight: 600;
}

.top-nav-right a:hover {
	color: var(--accent-color);
}

.top-nav-right>ul>span {
	display: inline-block;
	height: 20px;
	border-left: 1px solid var(--dark-gray);
	margin: 0 10px;
	vertical-align: middle;
}

.right-img {
	width: 180px;
	position: absolute;
	border: 1px solid var(--medium-gray);
	top: 100%;
	left: -50%;
	display: none;
	background-color: #fff;
	text-align: center;
	z-index: 99;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.top-nav-right img {
	width: 80%;
	height: auto;
	margin-top: 10px;
}

.top-nav-right p {
	font-size: 12px;
	line-height: 160%;
	margin-top: 5px;
}

.top-nav-right>ul>li:hover .right-img {
	display: block;
	opacity: 1;
}

.list-title {
	position: relative;
}



.list-title:hover .list-wrapper {
	display: block;
}

div.list-wrapper {
	position: absolute;
	top: 100%;
	right: -10%;
	width: 300px;
	background-color: #fff;
	z-index: 10000;
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.3s ease;
}

.list-wrapper img {
	width: 30%;
	height: auto;
	float: left;
	margin-right: 10px;
}

.list-wrapper>div>span {
	overflow: hidden;
	text-align: left;
	display: block;
	margin-bottom: 30px;
	color: var(--dark-gray);
}

ul.list {
	z-index: 10000000;
	text-align: center;
	padding: 0;
}

ul.list>li {
	font-size: 0;
}

ul.list>li>span {
	display: inline-block;
	border: none;
	vertical-align: top;
	margin-left: 20px;
	margin-top: 20px;
	font-size: 14px;
	color: var(--dark-gray);
}

ul.list>li>a {
	display: block;
	color: var(--dark-gray);
	width: 100%;
	height: 100%;
	transition: background-color 0.3s ease;
}

ul.list>li:hover {
	background-color: var(--medium-gray);
}

.order-top {
}

.order-top a {
	font-size: 0;
}

.order-top img {
	height: 40%;
	width: 8%;
	vertical-align: middle;
}

.order-top span {
	vertical-align: middle;
	margin-left: 10px;
	color: var(--dark-gray);
}

.order-container-wrapper {
	margin-top: 30px;
}

.order-container-title {
	font-size: 0;
	text-align: justify;
}

.order-container-title>h5 {
	display: inline-block;
	font-size: 20px;
	color: var(--dark-gray);
}

.order-container-title>button {
	width: 100px;
	height: 30px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.order-container-title>button:hover {
	background-color: var(--accent-color);
	color: #fff;
	cursor: pointer;
}

.order-container-title::after {
	content: "";
	display: inline-block;
	width: 100%;
}

.order-container {
	border-bottom: 1px solid var(--medium-gray);
}

.order-container>img {
	width: 5%;
	vertical-align: middle;
}

.order-container>p {
	display: inline-block;
	vertical-align: middle;
	font-size: 16px;
	color: var(--dark-gray);
}

.order-container>span {
	margin-left: 80px;
	font-size: 16px;
	color: var(--dark-gray);
}

.order-container>h6 {
	font-size: 16px;
	font-weight: 400;
	margin: 20px 0;
	color: var(--dark-gray);
}

.order-coupons-wrapper {
	margin-top: 20px;
	border-bottom: 1px solid var(--medium-gray);
}

.order-coupons-title {
	margin-bottom: 20px;
}

.order-coupons-title>i {
	font-size: 30px;
	vertical-align: middle;
	color: var(--dark-gray);
}

.order-coupons-title>h5 {
	display: inline-block;
	font-size: 20px;
	vertical-align: middle;
	margin-left: 10px;
	color: var(--dark-gray);
}

.order-coupons {
	margin-left: 20px;
	box-sizing: border-box;
	border: 1px solid var(--medium-gray);
	padding: 20px;
	margin-bottom: 40px;
}

.order-coupons>span {
	font-size: 16px;
	margin-right: 60px;
	color: var(--dark-gray);
}

.coupon {
	color: var(--accent-color);
	cursor: pointer;
}

.coupons {
	margin-top: 10px;
	display: none;
}

.coupons>input {
	padding: 10px;
	width: 600px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
}

.coupons>button {
	width: 200px;
	height: 40px;
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.coupons>button:hover {
	background-color: #ff832b;
}

form>div.show {
	display: block;
}

.order-phone-wrapper {
	margin-top: 20px;
	border-bottom: 1px solid var(--medium-gray);
}

.order-phone-title {
	margin-top: 40px;
}

.order-phone-title>h5 {
	display: inline-block;
	font-size: 20px;
	font-weight: 400;
	margin-right: 20px;
	color: var(--dark-gray);
}

.order-phone-title>span {
	font-size: 14px;
	color: #999;
}

.order-phone {
	margin-top: 20px;
}

.order-phone>span {
	margin-right: 10px;
	color: var(--dark-gray);
}

.order-phone>input {
	height: 30px;
	width: 240px;
	margin-bottom: 60px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
}

.order-adress-wrapper {
	margin-top: 20px;
	position: relative;
	border-bottom: 1px solid var(--medium-gray);
}

.order-adress-title {
	margin: 20px 0;
}

.order-adress-title>h5 {
	font-size: 20px;
	font-weight: 400;
	color: var(--dark-gray);
}

.dialog button {
	width: 200px;
	height: 80px;
	margin-left: 10px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.dialog button:hover {
	background-color: var(--accent-color);
	color: #fff;
}

form>div.active {
	display: block;
}

.btn-add {
	width: 24%;
	height: 140px;
	vertical-align: top;
	float: left;
	margin-left: 10px;
	border: none;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: box-shadow 0.3s ease;
}

.btn-add:hover {
	box-shadow: 4px 4px 2px -4px var(--dark-gray);
}

.order-adress>div {
	display: inline-block;
	font-size: 0;
	vertical-align: top;
}

.order-adress>div>div {
	display: inline-block;
	padding: 20px;
	vertical-align: top;
	margin-left: 10px;
	box-sizing: border-box;
	border: 1px solid var(--medium-gray);
	margin-bottom: 10px;
	border-radius: 4px;
	transition: box-shadow 0.3s ease;
}

.order-adress>div>div:hover {
	box-shadow: 4px 4px 2px -4px var(--dark-gray);
}

.order-adress h5 {
	display: inline-block;
	text-align: left;
	font-size: 16px;
	color: var(--dark-gray);
}

.order-adress span {
	display: inline-block;
	font-size: 16px;
	margin-left: 60px;
	color: var(--dark-gray);
}

.order-adress p {
	display: block;
	font-size: 18px;
	color: var(--dark-gray);
}

.btn-update {
	width: 100px;
	height: 40px;
	margin-left: 10px;
	margin-top: 10px;
	border: none;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-update:hover {
	background-color: var(--accent-color);
	color: #fff;
}

.btn-delete {
	width: 100px;
	height: 40px;
	margin-left: 10px;
	margin-top: 10px;
	border: none;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-delete:hover {
	background-color: var(--accent-color);
	color: #fff;
}

form {
	margin-left: 10px;
	z-index: 2;
}

.dialog {
	width: 600px;
	padding: 40px;
	border: 1px solid var(--medium-gray);
	display: none;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input {
	display: block;
	width: 100%;
	height: 20px;
	margin-bottom: 20px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
}

select {
	min-width: 60px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
}

.order-adress-bottom {
	margin: 40px 0;
}

.order-adress-bottom p {
	display: inline-block;
	font-size: 20px;
	margin-right: 20px;
	color: var(--dark-gray);
}

.order-adress-bottom button {
	width: 120px;
	height: 30px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	color: var(--dark-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.order-adress-bottom button:hover {
	background-color: var(--accent-color);
	color: #fff;
}

.order-adress-bottom span {
	display: block;
	margin: 5px 60px;
	color: var(--dark-gray);
}

.order-bottom {
	margin-top: 20px;
	border-bottom: 1px solid var(--medium-gray);
}

.order-bottom h5 {
	display: inline-block;
	font-size: 20px;
	font-weight: 400;
	vertical-align: top;
	color: var(--dark-gray);
}

.order-bottom input {
	display: inline-block;
	vertical-align: top;
	width: 400px;
	height: 80px;
	margin-left: 20px;
	padding: 0;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
}

.order-foot {
	margin-top: 40px;
	border-bottom: 1px solid var(--medium-gray);
}

.order-foot>div div {
	width: 400px;
	text-align: justify;
	font-size: 0;
}

.order-foot p {
	display: inline-block;
	margin: 5px 0;
	font-size: 16px;
	color: var(--dark-gray);
}

.order-foot span {
	display: inline-block;
	margin-left: 60px;
	font-size: 16px;
	color: var(--accent-color);
}

.order-foot>div div::after {
	content: "";
	display: inline-block;
	width: 100%;
	height: 0;
}

.div-justify {
	text-align: justify;
}

.div-justify::after {
	content: "";
	display: inline-block;
	width: 100%;
	height: 0;
}

.div-justify p,
.div-justify span {
	display: inline-block;
}

.order-button-wrapper {
	margin: 40px 0;
	margin-left: 1000px;
}

.order-button-wrapper>button {
	width: 200px;
	height: 40px;
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
	margin-top: 20px;
}

.order-button-wrapper>button:hover {
	background-color: #ff832b;
}

.bottom-wrapper {
	margin-top: 200px;
	background-color: var(--light-gray);
	border-top: 1px solid var(--medium-gray);
	padding: 30px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
}

.bottom {
	margin-top: 0;
}

.bottom h4 {
	font-size: 14px;
	margin-bottom: 10px;
	color: var(--dark-gray);
	font-weight: 600;
}

.bottom a {
	text-decoration: none;
	color: var(--dark-gray);
	font-size: 12px;
	transition: color 0.3s ease;
}

.bottom a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.bottom li {
	margin-bottom: 5px;
}

.bottom>div {
	height: 120px;
	width: 120px;
	margin-left: -10px;
	margin-top: 10px;
}

.bottom img {
	width: 80%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bottom p {
	margin-top: 20px;
	font-size: 10px;
	color: #b0b0b0;
}

.bottom button {
	width: 100px;
	height: 40px;
	color: var(--dark-gray);
	margin-top: 20px;
	font-size: 12px;
	background-color: var(--light-gray);
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.bottom button:hover {
	background-color: var(--medium-gray);
}

.bottom-last {
	margin-left: 60px;
	margin-right: 0;
}

.ricker {
	height: 100px;
	position: fixed;
	bottom: 40px;
	right: 10px;
}

.ricker div {
	padding: 5px;
	border: 1px solid var(--medium-gray);
	margin-bottom: 2px;
	background-color: var(--light-gray);
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.ricker div:hover {
	background-color: var(--medium-gray);
}

.ricker i {
	display: block;
	font-size: 30px;
	color: var(--dark-gray);
}

.ricker a {
	margin-top: 5px;
	color: var(--dark-gray);
	text-decoration: none;
}

.foot {
	font-size: 0;
}

iframe {
	width: 100%;
	height: 60px;
	border: none;
}
.order_box_in {
	width: 280px;
	margin-left: 8px;
	float: left;
	border: 1px solid orangered; /* 原有的边框样式 */
	border-radius: 10px;
	cursor: pointer;
	outline: none; /* 去除默认的 outline */
}

.order_box_in.selected {
	background-color: #e0f7fa; /* 背景颜色，这里使用浅蓝色，你可以根据需求调整 */
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* 浮动效果的阴影，可按需调整 */
	transition: all 0.3s ease; /* 添加过渡效果，使变化更平滑 */
}
.order_box{
	content: "";
	display: block;
	clear: both;
}
.active {
	color: var(--accent-color);
}
.default-address {
	border: 2px solid #FF5722; /* 设置边框颜色 */
}





.order-container {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 10px;
	gap: 15px;
}

.order-container img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	margin-right: 15px;
}

.order-container .info-block {
	display: flex;
	flex-direction: column;
	margin-right: 15px;
}

.order-container .info-block label {
	margin-bottom: 5px;
	font-weight: bold;
}

.order-container p {
	flex: 1;
	margin: 0;
	padding: 0 15px;
}

.order-container input[type="text"] {
	width: 50px;
	text-align: center;
	margin: 0 15px;
}

.order-container span {
	margin: 0 15px;
}

.order-container h6 {
	margin: 0;
	margin-left: 15px;
}

.order-container .delete-btn {
	margin-left: auto;
	padding: 8px 15px;
	background-color: #e74c3c;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.order-container .delete-btn:hover {
	background-color: #c0392b;
}

.order-container .delete-btn:active {
	background-color: #a93226;
}
/* 整体容器样式 */
.order-phone-wrapper {
	margin-bottom: 20px;
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #f9f9f9;
}

/* 标题部分样式 */
.order-phone-title {
	margin-bottom: 10px;
	margin-top: 0px;
}

.order-phone-title h5 {
	margin: 0;
	font-size: 18px;
	color: #333;
}

.order-phone-title span {
	font-size: 14px;
	color: #666;
}



/* 输入框部分样式 */
.order-phone {
	display: flex;
	align-items: center;
}

.order-phone span {
	margin-right: 10px;
	font-size: 16px;
	color: #333;
}

.order-phone input[type="text"] {
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 16px;
	flex: 1;
}

.order-phone input[type="text"]:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.order-installation {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.order-installation label {
	margin-right: 10px;
	font-size: 16px;
	color: #333;
}

.order-installation input[type="radio"] {
	width: 50px;
	margin-right: 3px;
}

.order-installation input[type="radio"] + label {
	margin-right: 10px;
}

#installation-quantity-wrapper {
	margin-left: 10px;
	display: none;
	white-space: nowrap;
	display: flex; /* 新增，让内部元素水平排列 */
	align-items: center; /* 新增，垂直居中对齐 */
}

#installation-fee {
	margin-left: 10px;
	font-size: 16px;
	color: #333;
}
